/*
 * Created on 2006-7-3
 */
package messages;

public class Msg_o2s_enterCell extends Message {
	int[] pre_cid;
	int[] new_cid;
//	int OorQ;

	public Msg_o2s_enterCell(int ts, int oORq, int id, int[] preCid,
			int[] newCid) {
		super();
		this.messageType = MessageTypes.o2s_enterCell;
		this.timepoint = ts;
		this.senderID = id;
//		this.OorQ = oORq;
		this.pre_cid = preCid;
		this.new_cid = newCid;
	}

	public String toString() {
		String s;
		s = this.timepoint + " " + this.messageType + " " 
				+ this.senderID + " " + this.pre_cid[0] + " " + this.pre_cid[1]
				+ " " + this.new_cid[0] + " " + this.new_cid[1];
		return s;
	}

}
